<template>
  <div class="container">
    <el-button type="success">success</el-button>
    <button class="btn btn-success">测试按钮</button>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        name: "ButtonTest"
      }
    }
  }
</script>

<style scoped>
  .container {
    position: relative;
  }

  .btn {
    display: inline-block;
    border: none;
    border-radius: 5%;
    color: white;
    padding: 12px 16px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    position: absolute;
  }
  .btn-success {
    background-color: #33CC33;
    transition:  border-radius .5s ease;
  }

  .btn-success:hover {
    background-color: rgba(51, 204, 51, 0.65);
    border-radius:40%
  }
</style>
